.simple-switch {
	width: 64px;
	height: 28px;
	border: solid 2px #ddd;
	border-radius: 26px;
	background-color: #FFF;
	position: relative;
	padding-left: 24px;
	-webkit-transition: background-color 0.3s;
	transition: background-color 0.3s;
	-webkit-user-select: none;
	font-size: 12px;
}

.simple-switch>input[type="checkbox"] {
	display: none;
}

.simple-switch:before {
	content: '禁止';
	text-align: center;
	display: block;
	width: 100%;
	height: 100%;
	line-height: 24px;
	color: #999;
}


#loginS.simple-switch:before {
	content: '允许';
	text-align: center;
	display: block;
	width: 100%;
	height: 100%;
	line-height: 24px;
	color: #999;
}


#loginS.simple-switch.active:before {
	content: '禁止';
	color: #FFF;
}

#union.simple-switch.active:before {
	content: '推荐';
	color: #FFF;
}

#union.simple-switch:before {
	content: '否';
	text-align: center;
	display: block;
	width: 100%;
	height: 100%;
	line-height: 24px;
	color: #999;
}

#loginS.simple-switch.active {
	border-color: #eb4c4c;
	background-color: #eb4c4c;
	padding-left: 0;
	padding-right: 24px;
}

.simple-switch>.switch-handler {
	position: absolute;
	left: 2px;
	top: 0px;
	width: 24px;
	height: 24px;
	background-color: #FFF;
	border-radius: 50%;
	-webkit-box-shadow: 1px 2px 5px rgba(0, 0, 0, 0.52);
	box-shadow: 1px 2px 5px rgba(0, 0, 0, 0.52);
	-webkit-transition: all 0.3s;
	transition: all 0.3s;
}

.simple-switch.active {
	border-color: #4cd964;
	background-color: #4cd964;
	padding-left: 0;
	padding-right: 24px;
}

.simple-switch.active:before {
	content: '允许';
	color: #FFF;
}

.simple-switch.active>.switch-handler {
	left: 36px;
}